package com.xiaochong.tir.manager.enums;

public enum ErrorEnum {

	USERNAME_PASSWORD_IS_EMPTY(10001, "用户名或密码不能为空"), USERNAME_PASSWORD_ERROR(10002, "用户名或密码错误"), UPLOAD_NOT_IMAGE(10003,
			"上传的不是图片"), USERNAME_PASSWORD_INVALID(10004, "登录无效"), USERNAME_VRIFYCODE_ERROR(10005, "验证码错误");

	private int code;
	private String msg;

	public int getCode() {
		return code;
	}

	public String getMsg() {
		return msg;
	}

	ErrorEnum(int code, String msg) {
		this.code = code;
		this.msg = msg;
	}
}
